abstract class AbstractResString {
  String get login;

  String get appName; // get 关键字表示变量为可读，且支持延迟初始化
  String get mainTabHome;

  String get mainTabCategories;

  String get mainTabMine;

  String get inputHintAccount;

  String get inputHintPwd;

  String get loadMore;

  String get appEmpty;
}

class StringZN extends AbstractResString {
  @override
  String get appName => "小兔鲜";

  @override
  String get mainTabCategories => "分类";

  @override
  String get mainTabHome => "首页";

  @override
  String get mainTabMine => "我的";

  @override
  String get login => "登录";

  @override
  String get inputHintAccount => "请输入账号";

  @override
  String get inputHintPwd => "请输入密码";

  @override
  String get loadMore => "加载更多";

  @override
  String get appEmpty=>"空空如也";
}

class StringEN extends AbstractResString {
  @override
  String get appName => "xiao_tu_xian";

  @override
  String get login => "login";

  @override
  String get mainTabCategories => "categories";

  @override
  String get mainTabHome => "home";

  @override
  String get mainTabMine => "mine";

  @override
  String get inputHintAccount => "please input account";

  @override
  String get inputHintPwd => "please input password";

  @override
  String get loadMore => "load more";

  @override
  String get appEmpty=>"empty";
}